package com.student.client.service;

import com.student.client.entity.Recipe;
import com.student.client.mapper.RecipeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecipeService {
    @Autowired
    private RecipeMapper recipeMapper;
    //
    public List<Recipe> findAllRecipe() {return recipeMapper.findAllRecipe();}
}
